<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DBRS Report Builder 1.0</title>	
	<!-- meta tag needed to identify the character set we are using -->
	<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
	<!--- Edit the title --->
	<title>Alaska Department of Natural Resources</title>
	<!--- End edit the title --->
	<!--- Edit the meta tags  --->
	<META NAME="KEYWORDS"    CONTENT="GPU,GIS,DBRS">
	<META NAME="DESCRIPTION" CONTENT="GIS Programming Unit Internal Pages">
	<META NAME="DATE" CONTENT="2/17/2010">
	<META NAME="AUTHOR" CONTENT="Jeremiah Lewis">
	<!--- End edit the meta tags --->
	<!--- Load the style sheet --->
	<style type="text/css">@import url("jquery-ui-1.7.2.custom.css");</style>
	<style type="text/css">@import url("http://int.dnr.alaska.gov/shared/css/dnr2008.css");</style>
	<style type="text/css">@import url("ReportBuilder.css");</style>
	<script type="text/javascript" src="switchcontent.js" ></script>
	<script type="text/javascript" src="switchicon.js">
	
	/***********************************************
	* Switch Content script II (icon based)- (c) Dynamic Drive (www.dynamicdrive.com)
	* Requires switchcontent.js and included before this file!
	* Visit http://www.dynamicdrive.com/ for full source code
	***********************************************/
	
	</script>
	
	<style type="text/css">
	
	/*Default style for SPAN icons. Edit if desired: */
	
	.iconspan{
	float: right;
	margin: 3px;
	cursor:hand;
	cursor:pointer;
	font-weight: bold;
	}
	
	/*CSS used to style the examples. Remove if desired: */
	
	.eg-bar{
	background-color: #FFFFC0;
	font-weight: bold;
	border: 1px solid black;
	padding: 3px;
	}
	
	div.eg-bar{
	width: 500px;
	}
	
	.icongroup1{
	width: 500px;
	}
	
	</style>
	<!-- Switch Content End -->
<script language="javascript" type="text/javascript">
	<!--
	function openWindow(url,windowName,features) {
		window.open(url,windowName,features);
	}
	-->
</script>
	<script src="js/jquery.min.js" type="text/javascript"></script>
	<script src="js/json2.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
	<script type="text/javascript" src="js/ui.dialog.js"></script>
	<script type="text/javascript" src="js/ui.draggable.js"></script>
	<script type="text/javascript" src="js/jquery.bgiframe.js"></script>
	<script type="text/javascript" src="js/ReportBuilderJQueryUI.js"></script>
	<script type="text/javascript">
		function updateTips(t,tips)
		{
			tips.text(t).effect("highlight",{},1500);
		}
	
		function checkIsNull(n,line)
		{
			if(n.val().length == 0)
			{
				n.val(line);
			}
		}

		function noNull(n,tips)
		{
			if(checkIsNull(n))
			{
				n.addClass('ui-state-error');
				updateTips("This parameter can't be null.",tips);
				n.focus();
			}
			else
			{
				n.removeClass('ui-state-error');
				if($('#reportSchema').val().length > 0 && $('#reportDS').val().length > 0)
					updateTips("No errors.",tips);
			}
		}
		
		function open_link_for_edit(row)
		{
			user_interface.links_list[0]=row;
			$('#link_trail').dialog('open');
		}
		
		function delete_trail_row(row)
		{
			user_interface.links_list[0] = row;
			delete_link_in_trail();
		}
	
		function open_field_for_edit(row)
		{
			fields[0]=row;
			$('#field').dialog('open');
		}
	
		function delete_field_row(row)
		{
			fields[0] = row;
			delete_field();
		}

		function open_parameter_for_edit(row)
		{
			parameters[0]=row;
			$('#parameter').dialog('open');
		}
	
		function delete_parameter_row(row)
		{
			parameters[0] = row;
			delete_parameter();
		}
		
		function open_security_for_edit(row)
		{
			securitys[0]=row;
			$('#security').dialog('open');
		}

		function delete_security_row(row)
		{
			securitys[0] = row;
			delete_security();
		}

		function fillFieldsDataTypeList(val1,val2)
		{
			fillDataTypeList(val1,val2);
		}
		
		function checkCR(evt) 
		{
			var evt  = (evt) ? evt : ((event) ? event : null);
				
			if (evt.keyCode == 13) 
			{
				/* do nothing, the purpose of this function is to trap the enter key so it
				 won't trigger the onbeforeunload()*/
				return false;
			}
			if (evt.keyCode == 8) 
			{
				/* do nothing, the purpose of this function is to trap the enter key so it
				 won't trigger the onbeforeunload()*/
				return false;
			}
		} // end function checkCR
	</script>
</head>
<body  background="http://int.dnr.alaska.gov/shared/images/dnrbackground48x48.gif" bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" class="bodytext" class="bodytext" onload="var request=request_builder('report ID');$('#ReportNumber').load('List', request);setting_report_number();">
<!--- Start of header --->
<div id="container"><!--begin container -->

<div id="header_links"><!--begin header links -->
<a href="http://www.alaska.gov/" title="The State of Alaska"><img id="state_icon" src="http://int.dnr.alaska.gov/shared/images/state_home_icon_transparent.gif" alt="The State of Alaska"/></a>
<a href="#skip_nav"></a><a href="http://www.alaska.gov/" title="The State of Alaska" id="top_header">State of Alaska</a> 
<a href="http://www.dnr.alaska.gov/ssd/lris/gis/" id="top_header">External GIS Page</a> 
<a href="http://int.dnr.alaska.gov/ssd/lris/gis/" id="top_header">Internal GIS Page</a> 
<a href="http://int.dnr.alaska.gov/" id="top_header">DNR Internal Page</a> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<input type="hidden" name="department2" value="GIS" />
	<label for="search for2"  class="searchform">
	<input type="text" name="q" size="11" id="searchfor2" maxlength="255" />
	</label>
	<input  type="submit" name="submit" class="searchform" value="Search" alt="Search"/>
	<form id="google_form1" action="http://int.dnr.alaska.gov/shared/templates/veritysearchresults.cfm" method="post">
	<input type="hidden" name="department" value="GIS" />
</form>
</div>
<!--end header links -->
	
<!--- End header bar links --->

	<!--- End header bar links --->
	<img alt="Alaska Department of Natural Resources, Geographic Information Services, Programming Unit" src="http://int.dnr.alaska.gov/shared/images/banners/gis75.jpg" border="0"></img>
		  <!-- About DNR -->
		<!--- End page banner graphic --->
	<!--- End Header --->

<br/>&nbsp;&nbsp;&nbsp; <a href="http://www.alaska.gov/" class="context">State of Alaska</a> <span style="font-size: 9.5pt">&gt;</span> <a href="/" class="context">Natural Resources</a> <span style="font-size: 9.5pt">&gt;</span> <a href="http://int.dnr.alaska.gov/ssd/lris/gis/" class="context">GPU</a> <span style="font-size: 9.5pt">&gt;&nbsp;<a href="" onclick="$.post('List',request_builder('logout'));">User Log In</a></span>
<div id="mainBody">
<input type="hidden" id="ender" value="submit"/>
<center>
	<h1>Report Builder Web 1.0</h1>
	<h3>Report #: <b id='ReportNumber'></b></h3>
	<h4><button id="logout" class="ui-button ui-state-default ui-corner-all external-button bodytextboldblue">Log Out of Report Builder</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button id="change" class="ui-button ui-state-default ui-corner-all external-button bodytextboldblue">Create/Edit New Report</button></h4>
</center>

<!-- this block of code is to create the window that displays the report's script to be copied to a text file or SQL Developer -->
<div id="scriptWindow" title="Report's Script">
	<form>
		<fieldset>
			<table width="75%" border="0" cellspacing="0">
				<tr>
					<td><center><textarea name="script" cols="80" rows="40" wrap="virtual" id="script"></textarea></center></td>
				</tr>
			</table>
		</fieldset>
	</form>
</div>
<!-- end Script window -->

<!-- this block of code is to create the window that never gets opened, due to it being a intermediary step to displaying the Script -->
<div id="hiddenWindow" title="">
	<form>
		<fieldset>
			<table width="55%" border="0" cellspacing="0">
				<tr>
					<td><textarea name="hiddenText" id="hiddenText"></textarea></td>
				</tr>
			</table>
		</fieldset>
	</form>
</div>
<!-- end Hidden window -->

<!-- this block of code is to create the window that asks for the report's schema and datasource names, called Required -->
<div id="required" title="Getting Required Data">
	<p id="validateRequiredTips">All form fields are required.</p>
	<form>
		<fieldset>
			<table width="55%" border="0" cellspacing="0">
				<tr>
				<td><label>Report's Data Source's Schema:</label></td>
				<td><input type="text" id="requiredSchema" value="DBRS" onblur="noNull($('#requiredSchema'),$('#validateRequiredTips'));document.getElementById('requiredSchema').focus()"/></td>
			</tr>
			<tr>
				<td><label>Report's Data Source:</label></td>
				<td><input type="text" id="requiredDS" onblur="noNull($('#requiredDS'),$('#validateRequiredTips'));document.getElementById('requiredDS').focus()" /></td>
			</tr>
			</table>
		</fieldset>
	</form>
</div>
<!-- end Required window -->

<!-- this block of code is to create the Create or Edit Link window inside the page -->
<div id="link_trail" title="Create or Edit Link in the Trail">
	<p id="validateLinkTips">All form fields are required.</p>
	<form>
		<fieldset>
			<table width="55%" border="0" cellspacing="0">
				<tr>
					<th width="47%" scope="row"><label for="link_text">Trail Name</label></th>
					<td width="53%"><input name="link_text" type="text" class="number ui-widget-content ui-corner-all" id="link_text" size="45" /></td>
				</tr>
				<tr>
					<th scope="row"><label for="link_address">Address</label></th>
					<td><input name="link_address" type="text" class="text ui-widget-content ui-corner-all" id="link_address" size="45" /></td>
				</tr>
			</table>
		</fieldset>
	</form>
</div>
<!-- end Create or Edit Link window -->

<!-- this block of code is to create the Create or Edit Field window inside the page  -->
<div id="field" title="Create or Edit Field">
	<p id="validateFieldTips">No errors.</p>

	<form>
	<fieldset>
		<table width="55%" border="0" cellspacing="0">
			<tr>
				<th scope="row"><label for="field_number">Number</label></th>
				<td><input type="text" name="field_number" id="field_number" value=0 class="number ui-widget-content ui-corner-all" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_name">Field Name</label></th>
				<td id="field_name_data"><input name="field_name" type="text" class="text ui-widget-content ui-corner-all" id="field_name" size="45" maxlength="38" value="" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_display_name">Display Name</label></th>
				<td><input name="field_display_name" type="text" class="text ui-widget-content ui-corner-all" id="field_display_name" value="" size="45" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_description">Description</label></th>
				<td><input name="field_description" type="text" class="text ui-widget-content ui-corner-all" id="field_description" value="" size="45" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_sortable">Is the field shown as a default</label></th>
				<td><select name="field_sortable" id="field_sortable">
						<option value="T" selected="selected">Yes&nbsp;</option>
						<option value="F">No&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="default_selected">Is the field 
					sortable?</label></th>
				<td><select name="default_selected" id="default_selected">
						<option value="T" selected="selected">Yes&nbsp;</option>
						<option value="F">No&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="field_sort_order">Default sorting type
					</label></th>
				<td>
					<select name="field_sort_order" id="field_sort_order">
						<option value="null" selected="selected">None&nbsp;</option>
						<option value="ASC">Ascending&nbsp;</option>
						<option value="DESC">Descending&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="field_data_type">Field Data Type
					</label></th>
				<td>
					<select name="field_data_type" id="field_data_type" onfocus="fillFieldsDataTypeList($('#field_name').val(),$('#field_data_type'));">
						<option value="null" selected="selected">none</option>
						<option value="TEXT" >Text&nbsp;</option>
						<option value="DATE">Date&nbsp;</option>
						<option value="NUMBER">Number&nbsp;</option>
						<option value="SPATIAL">Spatial&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="field_function">Function to modify the field data</label></th>
				<td><input name="field_function" type="text" class="text ui-widget-content ui-corner-all" id="field_function" size="45"/></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_value_info">Link to the information on another site</label></th>
				<td><input name="field_value_info" type="text" class="text ui-widget-content ui-corner-all" id="field_value_info" size="45"/></td>
			</tr>
			<tr>
				<th scope="row"><label for="field_display">Field visible in the results</label></th>
				<td>
					<select name="field_display" id="field_display">
						<option value='T' selected="selected">Yes&nbsp;</option>
						<option value='F'>No&nbsp;</option>
					</select>
				</td>
			</tr>
		</table>
		<br/>
	</fieldset>
	</form>
</div>
<!-- end Create or Edit Field window -->

<!-- this block of code is to create the Create or Edit Parameter window inside the page -->
<div id="parameter" title="Create or Edit Parameter">
	<p id="validateParameterTips">All form fields are required.</p>

	<form>
	<fieldset>
		<table width="55%" border="0" cellspacing="0">
			<tr>
				<th scope="row"><label for="parameter_number">Number</label></th>
				<td><input type="text" name="parameter_number" id="parameter_number" value=0 class="number ui-widget-content ui-corner-all" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="parameter_name">Parameter Name</label></th>
				<td id="parameter_name_data"><input name="parameter_name" type="text" class="text ui-widget-content ui-corner-all" id="parameter_name" size="45" maxlength="38" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="parameter_display_name">Display Name</label></th>
				<td><input name="parameter_display_name" type="text" class="text ui-widget-content ui-corner-all" id="parameter_display_name" value="" size="45" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="parameter_description">Description</label></th>
				<td><input name="parameter_description" type="text" class="text ui-widget-content ui-corner-all" id="parameter_description" value="" size="45" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="parameter_required">Is the parameter required for the report?</label></th>
				<td>
					<select name="parameter_required" id="parameter_required">
						<option value="T" selected="selected">Yes&nbsp;</option>
						<option value="F">No&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="data_type">Parameter Data Type </label></th>
				<td>
					<select name="data_type" id="data_type" onfocus="fillFieldsDataTypeList($('#parameter_name').val(),$('#data_type'));">
						<option value="null" selected="selected">none</option>
						<option value="TEXT" >Text&nbsp;</option>
						<option value="DATE">Date&nbsp;</option>
						<option value="NUMBER">Number&nbsp;</option>
						<option value="SPATIAL">Spatial&nbsp;</option>
						<option value="LIST">List&nbsp;</option>
						<option value="LINK">Link&nbsp;</option>
						<option value="SECTION">Section&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="actual_values">Actual Values</label></th>
				<td><input name="actual_values" type="text" class="text ui-widget-content ui-corner-all" id="actual_values" size="45" maxlength="256" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="display_values">Display Values</label></th>
				<td><input name="display_values" type="text" class="text ui-widget-content ui-corner-all" id="parameter_display_values" value="" size="45" /></td>
			</tr>
			<tr>
				<th scope="row"><label for="ds_schema">Data Source Schema Name</label></th>
				<td>
					<input name="ds_schema" type="text" id="ds_schema" class="text ui-widget-content ui-corner-all" />
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="ds_name">Data Source Name</label></th>
				<td>
					<input name="ds_name" type="text" class="text ui-widget-content ui-corner-all" id="ds_name" size="45" />
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="ds_field_names">Data Source Field Names</label></th>
				<td> 
					<input name="ds_field_names" type="text" class="text ui-widget-content ui-corner-all" id="ds_field_names" size="45" />
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="where_clause">WHERE clause</label></th>
				<td>
					<input name="where_clause" type="text" class="text ui-widget-content ui-corner-all" id="where_clause" size="45" />
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="order_by_clause">ORDER BY clause</label></th>
				<td>
					<input name="order_by_clause" type="text" class="text ui-widget-content ui-corner-all" id="order_by_clause" size="45" />
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="constraining_parameter_name">Constraining Parameter Name</label></th>
				<td>
					<select name="constraining_parameter_name" id="constraining_parameter_name">
						<option value="null" selected="selected">None&nbsp;</option>
					</select>
				</td>
			</tr>
			<tr>
				<th scope="row"><label for="validator_name">The Java validator method's name</label></th>
				<td>
					<input name="validator_name" type="text" class="text ui-widget-content ui-corner-all" id="validator_name" size="45" />
				</td>
			</tr>
		</table>
	</fieldset>
	</form>
</div>
<!-- end Create or Edit Parameter window -->

<!-- this block of code is to create the Security Parameter window inside the page -->
<div id="security" title="Create or Edit Security Parameter">
	<p id="security_tips">All form fields are required.</p>
	<form>
		<fieldset>
			<table width="55%" border="0" cellspacing="0">
				<thead>
					<tr class="ui-widget-header">
						<th>Security of the report is restricted by:</th>
						<th>Security Parameters:</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>
							<select name="security_restriction" id="security_restriction">
							<option value="INDIVIDUAL">Only being available to a specific person</option>
							<option value="GROUP">Only being available to a specific group</option>
							<option value="PUBLIC" selected="selected">Being available to everybody with access to the DBRS</option>
							<option value="ATTRIBUTE">A specific attribute, such as their employer</option>
							</select>
						</td>
						<td>
							<input name="security_parameters" type="text" id="security_parameters" value="null" size="45" />
						</td>
					</tr>
				</tbody>
			</table>
		</fieldset>
	</form>
</div>
<!-- end Security Parameter window -->
<table align="center" width="80%" cellpadding="0" cellspacing="15">
<tr><td>
<center>
	<button id="commit" class="ui-button ui-state-default ui-corner-all external-button bodytextboldblue">Commit Report to Database</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<button id="getScript" class="ui-button ui-state-default ui-corner-all external-button bodytextboldblue">Generate Report's Script</button>
</center>
</td></tr>
<tr><td>
<!-- this block of code is to create the accordion inside the main body of the page -->
<div id="accordion" class="ui-accordion">
	<h2 id="driver_table_title"><a href="#">Driver Table</a></h2>
	<div id="driver_table">
		<p id="driverTips">No errors.</p>
		<table width="729" border="0" cellspacing="0" id="fieldTable">
			<tr>
				<td width="304"><label>Report Name: </label></td>
				<td width="391"><input name="reportName" type="text" id="reportName" size="45" maxlength="60" onblur="checkIsNull($('#reportName'),'Needs a Name')"/></td>
			</tr>
			<tr>
				<td height="37"><label>Description:</label></td>
				<td><textarea name="reportDesc" cols="45" rows="2" wrap="virtual" id="reportDesc"></textarea></td>
			</tr>
			<tr>
				<td><label>Comments:</label></td>
				<td><p>
						<textarea name="driverComments" cols="45" rows="2" id="driverComments"></textarea>
				</p></td>
			</tr>
			<tr>
				<td><label>Report Active?</label></td>
				<td><select name="driverActive" id="driverActive">
						<option value="T">Yes</option>
						<option value="F" selected="selected">No</option>
					</select>
				</td>
			</tr>
			<tr>
				<td ><label>Can the Report be bypassed?</label></td>
				<td><select name="byPassed" id="byPassed">
						<option value="T">Yes</option>
						<option value="F" selected="selected">No</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><label>Report's Data Source's Schema:</label></td>
				<td><input type="text" name="reportSchema" id="reportSchema" value="DBRS" onblur="noNull($('#reportSchema'),$('#driverTips'));"/></td>
			</tr>
			<tr>
				<td><label>Report's Data Source:</label></td>
				<td><input type="text" name="reportDS" id="reportDS" onblur="noNull($('#reportDS'),$('#driverTips'));//document.getElementById('reportDS').focus();" /></td>
			</tr>
			<tr>
				<td width="304"><label>Map Name:</label></td>
				<td width="391"><input type="text" name="mapName" id="mapName" size="45"/></td>
			</tr>
			<tr>
				<td><label>Map's User ID:</label></td>
				<td><select name="mapUID" id="mapUID">
						<option value="null" selected="selected">No Map</option>
						<option value="UPRS">UPRS</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><label>Coordinate System Name:</label></td>
				<td><select name="coord_system_name" id="coord_system_name">
						<option value="null" selected="selected">No Map</option>
						<option value="NAD 83 Alaska Albers Equal Area">NAD 83 Alaska Albers Equal Area</option>
					</select>
				</td>
			</tr>
		</table>
	</div>
	<h2 id="UI_TableTitle"><a href="#">User Interface Data</a></h2>
	<div id="UI_Table">
		<table width="729" border="0" cellspacing="0">
			<tr>
				<td width="304"><label>Report's Page Title:</label></td>
				<td width="391"><input type="text" name="interface_page_title" id="interface_page_title" size="45" onblur="checkIsNull($('#interface_page_title'),'default');"/></td>
			</tr>
			<tr>
				<td><label>Header Title:</label></td>
				<td><input type="text" name="interface_header_title" id="interface_header_title" size="45" onblur="checkIsNull($('#interface_header_title'),'default');"/></td>
			</tr>
			<tr>
				<td><label>Sub-header Title:</label></td>
				<td><input type="text" name="interface_sub-header_title" id="interface_sub-header_title" size="45" onblur="checkIsNull($('#interface_sub-header_title'),'default');"/></td>
			</tr>
			<tr>
				<td><label>Address of Header Logo Image:</label></td>
				<td><input type="text" name="interface_image_address" id="interface_image_address" size="45" onblur="checkIsNull($('#interface_image_address'),'default');"/></td>
			</tr>
			<tr>
				<td><label>Link Trail Start:</label></td>
				<td><table width="408" class="ui-widget ui-widget-content ui-editable-list" id="links_list">
					<tbody>
						<tr >
							<td width="213" id="trail_element"><a href="http://www.alaska.gov/">State of Alaska</a></td>
							<td width="96"><button id="create_link" class="ui-button ui-state-default ui-corner-all">Delete link </button></td>
						</tr>
					</tbody>
				</table></td>
			</tr>
		</table>
	</div>
	<h2><a href="#">Fields Table</a></h2>
	<div>
		<input id="field_total_rows" type="hidden" value="99"/>
		<center><p><button id="create_field" class="ui-button ui-state-default ui-corner-all">Create new field</button></p></center>
		<table id="field_list" class="ui-widget ui-widget-content ui-editable-list">
			<thead>
				<tr class="ui-widget-header">
					<th>Number</th>
					<th>Field Name</th>
					<th>Displayed Name</th>
					<th>Default Sort Order</th>
					<th>Field Type</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>1</td>
					<td>BLAH</td>
					<td>Blah</td>
					<td>F</td>
					<td>None</td>
					<td></td>
				</tr>
			</tbody>
		</table>
	</div>
	<h2><a href="#" >Parameters Table</a></h2>
	<div>
		<input id="parameter_total_rows" type="hidden" value="99"/>
		<center>
			<p>
				<button id="create_parameter" class="ui-button ui-state-default ui-corner-all">Create new parameter</button>
			</p>
		</center>
		<table id="parameter_list" class="ui-widget ui-widget-content ui-editable-list">
			<thead>
				<tr class="ui-widget-header">
					<th>Number</th>
					<th >Parameter Name</th>
					<th >Displayed Name</th>
					<th >Data Source Name</th>
					<th>Data Type</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>0</td>
					<td>BLAH</td>
					<td>Blah</td>
					<td>F</td>
					<td>None</td>
				</tr>
			</tbody>
		</table>
	</div>
	<h2><a href="#" >Security Table</a></h2>
	<div>
		<center><p><button id="create_security_parameter" class="ui-button ui-state-default ui-corner-all">Create New Security Parameter</button></p></center>
		<input id="security_total_rows" type="hidden" value="99"></input>
		<table id="security_list" class="ui-widget ui-widget-content ui-editable-list">
			<thead>
				<tr class="ui-widget-header">
					<th>Security of the report is restricted by:</th>
					<th>Security Parameters:</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
			</tbody>
		</table>
	</div>
	<h2><a href="#">Categories Table</a></h2>
	<div>
		<table width="60%" border="0" cellspacing="0">
			<tr>
				<td width="44%"><label>Category the Report goes under:</label></td>
				<td id="pre-category" width="56%">
					<select name="category" id="category">
						<option value="0" selected="selected">All&nbsp;</option>
					</select>
				</td>
			</tr>
		</table>
	</div>
</div>
<!-- end the accordion window -->
</td></tr></table>

<div id="footer" class="small"><!--- Edit footer lines below --->
	<div class="small">
		<p>
		<%@ page import="reportBuilder.Gofor" %>
      	<%String ver = " v" + Gofor.VERSION; %>
		DNR Report Building System<%= ver %>. Site optimized for Netscape 7, IE 6 or above.<br/>
       	Not sure who to contact? Have a question about DNR? 
		Visit the <a href="http://www.dnr.state.ak.us/pic/" class="note">Public Information Center</a>.<br/>
		For help using the DNR Business Reporting System, please view the <a href="/docs/DBRS_User_Help_Guide.pdf" target="_blank" class="note">User Help Guide</a>.<br/>
       	For additional help or support, please view the <a href="http://dnr.alaska.gov/CustomerFeedback/FAQPage?pid=6&ref=http://reports.dnr.alaska.gov" target="_blank" class="note">DBRS Support/FAQ</a>.<br/>
       	Report technical problems with this page to the <a href="http://www.dnr.state.ak.us/standard/emailcontact.cfm?send=valerie.johnston">Webmaster</a>
       	</p>
  	</div>
</div>	 
         <center><a href="http://www.state.ak.us" class="footer">State of Alaska</a>&nbsp; 
          <a href="http://www.dnr.state.ak.us" class="footer">Natural Resources</a> &nbsp; 
	<!-- Edit Links to your division/offices home page -->
		  <a href="http://int.dnr.alaska.gov/int/webmasters" class="footer">Webmaster's Center</a>&nbsp;&nbsp;
	<!-- End Edit Links -->
		  <a href="http://int.dnr.alaska.gov/shared/notices/copyright.htm" class="footer">Copyright</a>&nbsp;&nbsp; 
          <a href="http://int.dnr.alaska.gov/shared/notices/privacy.htm"  class="footer"> Privacy</a> &nbsp; 
          <a href="http://int.dnr.alaska.gov/shared/status/systemstatus.cfm" class="footer">System Status</a> 
		</center>
</div><!--end container -->
</body>
</html>	

